{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title>EMINI | Login</title>

	<link rel="stylesheet" href="{% static 'framework/bootstrap3.0.1/css/bootstrap.css' %}">
	<link rel="stylesheet" href="{% static 'sitebase/css/emini_work.css' %}">
	<link rel="stylesheet" href="{% static 'sitebase/css/animate.css' %}">
	<style>
	</style>
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
	<div>
		<div>
			{#                <h1 class="logo-name"><img class="img-circle" src="{% static 'pages/login/emini_logo.jpg' %}" style="width:180px;"></h1>#}
		</div>

		<h3 style="margin-top:20px;">图片管理系统</h3>

		<p>请输入用户名和密码登陆图片管理系统</p>
		{#            <form method="post" action="{% url 'auth_login' %}?next={% url 'staff_staff_list' %}" id="loginForm">#}
		<form method="post" action="{% url 'login' %}" id="loginForm">
			{% csrf_token %}
			<div class="form-group">
				<input class="form-control" placeholder="用户名" required name="username">
			</div>
			<div class="form-group">
				<input class="form-control" placeholder="密码" required name="password">
			</div>
			<button type="submit" class="btn btn-primary block full-width m-b">登录</button>
		</form>
		{% if messages %} {% for message in messages %}
			<div class="alert alert-{% if message.tags == 'error' %}danger{% else %}{{ message.tags }}{% endif %}">
				<a class="close" data-dismiss="alert">×</a>
				<strong>{{ message }}</strong>
			</div>
		{% endfor %} {% endif %}
		<p class="m-t">
			<small>snitfk © 2014</small>
		</p>
	</div>
</div>

<!-- Mainly scripts -->
<script src="{% static 'framework/jquery/jquery-1.11.0.min.js' %}" type="text/javascript"></script>
<script src="{% static 'framework/bootstrap3.0.1/js/bootstrap.min.js' %}" type="text/javascript"></script>
</body>
</html>